package com.hoangkien.DAO;

import android.database.sqlite.SQLiteDatabase;

public class ImageScheme {
	public static final String TABLE_IMAGE_NAME = "image";
	public static final String IMAGE_ID = "imageId";
	public static final String CATEGORY_ID = "catID";
	public static final String IMAGE_NAME = "imageName";
	public static final String LINK_IMAGE_SMALL = "linkImagesmall";
	public static final String LINK_IMAGE_LARGE = "linkImagelarge";

	public static final String DATABASE_CREATE_IMAGE = "Create Table "
			+ TABLE_IMAGE_NAME + "( " + IMAGE_ID + " interger primary key, "
			+ CATEGORY_ID + " interger not null, " + IMAGE_NAME + " text, "
			+ LINK_IMAGE_SMALL + " text not null, " + LINK_IMAGE_LARGE
			+ " text not null)";
	
	public static void onCreate(SQLiteDatabase db) {
		db.execSQL(DATABASE_CREATE_IMAGE);
	}
}
